package com.turkcell.dv.dao;

import java.util.List;

import com.turkcell.dv.model.UserPrivilegeDOM;

public interface UserPrivilegeDAO {

	public void addUserPrivilege(UserPrivilegeDOM up);

	public void removeUserPrivilege(long id);

	public List<UserPrivilegeDOM> listUserPrivilegesByUserId(long id);
	
	public List<UserPrivilegeDOM> listUserPrivilegesByPrivilegeId(long id);

	public UserPrivilegeDOM getUserPrivilegeById(long id);
}
